/*
 *  This file is part of WWWPal.
 *
 *  Copyright (C) 2003  Dr. John Punin, Department of Computer Science
 *  Rensselaer Polytechnic Institute
 *
 *  WWWPal is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  WWWPal is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with Foobar; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef GR_WINDOW_H
#define GR_WINDOW_H

#include "gr_graph.h"
#include "gr_node.h"
#include "gr_edge.h"

#ifdef XGR
void
redraw_vertex_edges(GraphFrame *gf,GC gc,struct pt *v,Boolean erase);
void
move_vertex_draw(GraphFrame *cgr,struct pt *ov, struct pr_pos loc);
void 
Draw_all_edges(GraphFrame *gf);
void 
Draw_all_vertices(GraphFrame *gf);
void 
refresh_graph_window(GraphFrame *gf); /*public*/
int 
line_is_in_box(int x1, int y1, int x2, int y2, int w, int h);
int 
point_is_in_box(int x1, int y1, int w, int h);

#endif

#endif

